package com.yan.decorator;

public class ScoreDecorator extends Decorator {
    public ScoreDecorator(SchoolReport schoolReport) {
        super(schoolReport);
    }

    @Override
    public void report() {
        System.out.println("这次考试，语文最高是75，数学是78， 自然是80");
        super.report();
    }
}
